<!--<div class="demo-upload-list" v-for="item in [fileLists]">-->
<!--    <template v-if="item.status === 'finished'">-->
<!--        <image :src="item.url" fit="cover" width="100%" height="100%" ></image>-->
<!--        <div class="demo-upload-list-cover">-->
<!--            <icon type="ios-eye-outline" @click="handleView(item.name)"></icon>-->
<!--            <icon type="ios-trash-outline" @click="handleRemove(item)"></icon>-->
<!--        </div>-->
<!--    </template>-->
<!--    <template v-else>-->
<!--        <progress v-if="item.showProgress" :percent="item.percentage" hide-info></progress>-->
<!--    </template>-->
<!--</div>-->
    <upload
            ref="uploadRef"
            :show-upload-list="false"
            :on-success="[success]"
            :format="['jpg','jpeg','png']"
            :max-size="51201"
            data="[model]"
            type="drag"
            :on-progress="uploadProgressEvent"
            :on-exceeded-size="uploadExceededSizeEvent"
            :on-format-error="uploadFormatErrorEvent"
            action="/admin.php/ajax/upload?model=[model]"
            style="display: inline-block;width:58px;">
        <div style="width: 58px;height:58px;line-height: 58px;">
            <Icon type="ios-camera" size="20"></Icon>
        </div>
    </upload>
